import { lazy } from "react";

const PurchaseRouter = [
  //采购
  {
    path: "/views/purchase/Propose",
    name: "采购建议",
    Component: lazy(() => import("@/pages/PurchaseModule/propose/index"))
  },
  {
    path: "/views/purchase/PurchaseOrder",
    name: "采购单",
    Component: lazy(() => import("@/pages/PurchaseModule/purchaseOrder/index"))
  },

  //快销采购
  // {
  //   path: "/views/purchase/soldPurchase",
  //   name: "已销采购汇总",
  //   Component: lazy(() => import("@/views/purchase/soldPurchase/index"))
  // },
  {
    path: "/views/purchase/FmcmPurchase",
    name: "快销采购",
    Component: lazy(() => import("@/pages/PurchaseModule/fmcmPurchase/index"))
  },
  {
    path: "/views/purchase/StockOrdersSummary",
    name: "快销备货汇总",
    Component: lazy(() => import("@/pages/PurchaseModule/stockSummary/index"))
  },
  {
    path: "/views/purchase/makeInventory",
    name: "到货清点",
    Component: lazy(() => import("@/pages/PurchaseModule/makeInventory/index"))
  },
]

export default PurchaseRouter;